import request from '@/utils/request'

// 查询未采人员登记表列表
export function listUnCollection(query) {
  return request({
    url: '/plasma/unCollection/list',
    method: 'get',
    params: query
  })
}

// 查询未采人员登记表详细
export function getUnCollection(id) {
  return request({
    url: '/plasma/unCollection/' + id,
    method: 'get'
  })
}

// 新增未采人员登记表
export function addUnCollection(data) {
  return request({
    url: '/plasma/unCollection',
    method: 'post',
    data: data
  })
}

// 修改未采人员登记表
export function updateUnCollection(data) {
  return request({
    url: '/plasma/unCollection',
    method: 'put',
    data: data
  })
}

// 保存未采人员信息
export function saveUnCollection(data) {
  return request({
    url: '/plasma/unCollection/saveUnCollection',
    method: 'post',
    data: data
  })
}

// 删除未采人员登记表
export function delUnCollection(id) {
  return request({
    url: '/plasma/unCollection/' + id,
    method: 'delete'
  })
}
